/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.support.http;

/**
 * 
 *
 * @author haolw
 * @time 2016/09/28
 */
public class SuccessResponse extends Response {
	private static final long serialVersionUID = 1L;
	private Object data;

	public SuccessResponse(Object data) {
		this.data = data;
		this.setStatus(SUCCESS_STATUS);
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
